﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using DG.Tweening;

public class Z9WindowsSizer : MonoBehaviour
{
    private void Start()
    {
        GetComponent<Image>().color = new Color(1, 1, 1, 0);
    }
    public void Enter()
    {
        GetComponent<Image>().DOFade(1, 0.1f);
    }
    public void Exit()
    {
        GetComponent<Image>().DOFade(0, 0.1f);
    }
}